home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / idl / orbit-1.0 / CosEventComm.idl < prev    next >
Text File  |  2005-10-20  |  573b  |  30 lines

  1. #ifndef _CosEventComm_IDL_
  2. #define _CosEventComm_IDL_
  3.  
  4. #pragma prefix "omg.org"
  5.  
  6. module CosEventComm {
  7.     exception Disconnected{};
  8.  
  9.     interface PushConsumer {
  10.         void push(in any data) raises(Disconnected);
  11.         void disconnect_push_consumer();
  12.     };
  13.  
  14.     interface PushSupplier {
  15.         void disconnect_push_supplier();
  16.     };
  17.  
  18.     interface PullSupplier {
  19.         any pull() raises(Disconnected);
  20.         any try_pull(out boolean has_event) raises(Disconnected);
  21.         void disconnect_pull_supplier();
  22.     };
  23.  
  24.     interface PullConsumer {
  25.         void disconnect_pull_consumer();
  26.     };
  27. };
  28.  
  29. #endif /* !_CosEventComm_IDL_ */
  30.